package vn.fsoft.gst.dao;

import java.util.List;

import vn.fsoft.gst.domain.User;

/**
 * This UserDAO interface provides methods for processing user table
 * @author TienNM
 *
 */
public interface UserDAO {
    /**
     * @param user: user will be added
     * @return id of user added
     */
    public int addUser(User user);

    /**
     * @return list of user in database
     */
    public List<User> getListUser();

    /**
     * @param Id: id of user want to get
     * @return user
     */
    public User getUserById(int Id);
}
